home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr44 / sndoff20.zip / ERRLVL.LST < prev    next >
File List  |  1993-04-07  |  2KB  |  41 lines

  1. Sound Off!  Error Codes:
  2.  
  3. These errors can be check with the Dos ErrorLevel function from
  4. within your Batch Files. You can then continue the batch file process
  5. based on the error returned.
  6.  
  7. If you are not familar with this function, refer to your Dos
  8. manual, or a third party book on Batch File Programming.
  9.  
  10.  
  11. Code         Reason
  12. -----      -------------------------------
  13.  0          Normal Exit
  14.  1          Text in Script File Misplaced
  15.  2          Could not open Script File
  16.  3          Script File not found
  17.  4          Aborted by user keypress
  18.  
  19. Explanations:
  20.  
  21.  Most are self explanatory, the others are:
  22.  
  23.  #1)  There was a text character placed where a numeric value should
  24.       have been, perhaps a period before the numbers......
  25.       Also happens if a comment is placed at the end of a script
  26.       without Zeros being entered as the last variables (notes).
  27.  
  28.  #2)  This may happen if the file attribute was mistakenly set to a
  29.       SYS file setting or something. Usually there will never be this
  30.       'type' of error, but its checked for anyway.
  31.  
  32.  #3)  The Script File is searched for first in the current directory,
  33.       then all directories included in the PATH statement.
  34.       If the script file resides in a "hidden" directory, or on another
  35.       drive, then include drive\path\ with the filename as in:
  36.         SOUNDOFF /f a:\tunes\bye-bye
  37.  
  38.       Remember, your script files MUST have the extension of .SOS
  39.       for SOUND files, and .SOM for MUSIC files......
  40.       and the extension should NOT be given in the command!
  41.